#import <UIKit/UIKit.h>
NS_ASSUME_NONNULL_BEGIN
@interface UIImage (WBImage)
+ (UIImage *)ct_originImageWithName:(NSString *)name;
- (UIImage *)ct_circleImage;
+ (UIImage *)ct_cutToBigRect:(UIImage *)image size:(CGSize)size;
+ (UIImage*)ct_imageResize:(UIImage*)image size:(CGSize)size;
+ (UIImage *)ct_compressImage:(UIImage *)image toByte:(NSUInteger)maxLength;
+ (UIImage *)ct_imageWithColor:(UIColor *)imgColor;
- (UIImage*)ct_addCenterlogo:(UIImage*)centerLogo logoPosition:(CGRect)logoRect;
- (CGSize)ct_imageSizeByTargetWidth:(CGFloat)targetWidth;
- (CGSize)ct_imageSizeByTargetHeight:(CGFloat)targetHeight;
+ (UIImage *)ct_imageWithCapturedLayer:(CALayer *)layer;
+ (UIImage *)ct_makePlaceholderImage:(UIImage *)placeholderImage targetSize:(CGSize)size;
+ (UIImage *)ct_imageWithTextStr:(NSString *)string
                         font:(UIFont *)font
                    textColor:(UIColor *)textColor
                        width:(CGFloat)width
                       height:(CGFloat)height
                textAlignment:(NSTextAlignment)textAlignment;
- (UIImage *)ct_croppedImageWithFrame:(CGRect)frame;
+(UIImage *)ct_imageFromText:(NSArray*)arrContent withFont:(CGFloat)fontSize withTextColor:(UIColor *)textColor withBgImage:(UIImage *)bgImage withBgColor:(UIColor *)bgColor;
@end
NS_ASSUME_NONNULL_END
